Crate feattle_sync[−][src]
Expand description
This crate is the implementation for some synchronization strategies for the feature flags (called “feattles”, for short).
The crate feattle_core
provides the trait feattle_core::persist::Persist
as the
extension point to implementors of the persistence layer logic. This crates has some useful
concrete implementations: Disk
and S3
. Please refer to the
main package - feattle
for more information.
It also provides a simple way to poll the persistence layer for updates in BackgroundSync
.
Optional features
- s3: provides
S3
to integrate with AWS’ S3
Structs
Spawn a tokio task to poll Feattles::reload()
continuously
Persist the data in the local filesystem, under a given directory.
Persist the data in an AWS S3 bucket.
Enums
Represent what can go wrong when interfacing with AWS. This is based on
rusoto_core::RusotoError
.